package com.huawei.appmarket.service.store.awk.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import kotlin.Metadata;
import o.azb;
import o.cdn;
import o.cdr;
import o.eiv;
import o.epr;
import o.fsd;
import org.jetbrains.annotations.NotNull;

@Metadata(bv = {1, 0, 3}, d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\b&\u0018\u00002\u00020\u0001:\u0002\u0013\u0014B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J \u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000eH&J \u0010\u000f\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\r\u001a\u00020\u000eH&J\u0018\u0010\u0010\u001a\u00020\u00112\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u0012\u001a\u00020\u000eH\u0016R\u0014\u0010\u0005\u001a\u00020\u0006X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\b¨\u0006\u0015"}, d2 = {"Lcom/huawei/appmarket/service/store/awk/node/VerticalMultiTabsEntranceNode;", "Lcom/huawei/appgallery/foundation/card/base/node/BaseDistNode;", "context", "Landroid/content/Context;", "(Landroid/content/Context;)V", "cardStyle", "Lcom/huawei/appmarket/service/store/awk/node/VerticalMultiTabsEntranceNode$CardStyle;", "getCardStyle", "()Lcom/huawei/appmarket/service/store/awk/node/VerticalMultiTabsEntranceNode$CardStyle;", "createCard4Landscape", "", "layoutInf", "Landroid/view/LayoutInflater;", "rootLayout", "Landroid/view/ViewGroup;", "createCard4Portrait", "createChildNode", "", "parent", "CardStyle", "CardType", "WiseDist_release"}, k = 1, mv = {1, 1, 15})
public abstract class VerticalMultiTabsEntranceNode extends cdr {
    @NotNull
    private final c ˊ;

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/huawei/appmarket/service/store/awk/node/VerticalMultiTabsEntranceNode$CardType;", "", "(Ljava/lang/String;I)V", "NewBanner", "TwoLeafGrass", "WiseDist_release"}, k = 1, mv = {1, 1, 15})
    public enum b {
    }

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/huawei/appmarket/service/store/awk/node/VerticalMultiTabsEntranceNode$CardStyle;", "", "(Ljava/lang/String;I)V", "Portrait", "Landscape", "WiseDist_release"}, k = 1, mv = {1, 1, 15})
    public enum c {
    }

    public abstract void ˋ(@NotNull LayoutInflater layoutInflater, @NotNull Context context, @NotNull ViewGroup viewGroup);

    public abstract void ˎ(@NotNull LayoutInflater layoutInflater, @NotNull Context context, @NotNull ViewGroup viewGroup);

    public VerticalMultiTabsEntranceNode(@NotNull Context context) {
        fsd.ˊ((Object) context, "context");
        super(context, 1);
        epr ˎ = epr.ˎ();
        fsd.ॱ(ˎ, "DeviceSession.getSession()");
        c cVar = ˎ.ॱॱ() ? azb.ˎ(context) ? c.ˎ : c.ˋ : cdn.ॱॱ() ? c.ˎ : azb.ˎ(context) ? c.ˎ : c.ˋ;
        this.ˊ = cVar;
    }

    @NotNull
    protected final c ˋ() {
        return this.ˊ;
    }

    public boolean ˊ(@NotNull ViewGroup viewGroup, @NotNull ViewGroup viewGroup2) {
        fsd.ˊ((Object) viewGroup, "rootLayout");
        fsd.ˊ((Object) viewGroup2, "parent");
        Context context = this.ॱ;
        if (context == null) {
            return false;
        }
        LayoutInflater from = LayoutInflater.from(context);
        switch (eiv.ˎ[this.ˊ.ordinal()]) {
            case 1:
                fsd.ॱ(from, "layoutInf");
                ˎ(from, context, viewGroup);
                break;
            case 2:
                fsd.ॱ(from, "layoutInf");
                ˋ(from, context, viewGroup);
                break;
        }
        return true;
    }
}
